<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="java.util.*" pageEncoding="UTF-8"%>
	<%String path=request.getContextPath(); %>
<style type="text/css">
	.one-img {
		padding-top: 8px;
		padding-left: 28px;
	}
	.two-img {
		padding-top: 2px;
		padding-left: 28px;
	}
	li {
	list-style-type:none;
	}
	.selectTextMove{margin-top:8px;}
</style>

	<nav class="navbar navbar-default nav-bg1" role="navigation" style="background-color: #FFFFFF;">
								 
									<ul class="nav-bg1 nav navbar-nav navbar navbar-default navbar-fixed-top" style="background-color: #FFFFFF;">
										<li> <img class="one-img" alt="140x140" src="<%= path%>/img/logo.jpg" class="img-rounded" /></li>
										<li> <img class="two-img" alt="140x140" src="<%= path%>/img/RMS.png" class="img-rounded" style="margin-top: 5px;"/></li>
										<li><div class="input-group">
													<form action="<%= path%>/select/detailQuery"
														method="post">
														 
				
														<input type="text" name="queryValue" class="form-control selectTextMove"
															style="width: 300px;" placeholder="输入条件以检索" /> <span
															class="">
															<button class="btn btn-default selectTextMove" type="submit">Go!</button>
														</span>
													</form>
												</div></li>
					
					  <%
							
							String name = (String)session.getAttribute("name");
							if(name!=null){
								 
								if(name.equals("admin")){
						%>
						
						<div class="btn-group" style="float:right;margin-top:13px;">
									 <input type="hidden" name="input_name" value="<%=name %>"> 
									<span id="login_li1" value="1" class=" dropdown-toggle" data-toggle="dropdown" style="margin-top:13px;margin-right:150px;margin-left:27px; font-size: 18px; font-family: '微软雅黑';cursor: pointer;"><%=name %>
										<span class="caret"></span>
									</span>
								 
									<ul class="dropdown-menu" role="menu">
									
										<li><a href="<%= path%>/managerPage">管理用户</a></li>
										<li><a href="<%= path%>/managerStarResume">星标简历</a></li>
										<li class="divider"></li>
										<%-- <li><a href="<%= path%>/dashboard">TMS系统</a></li> --%>
										<li><a href="<%= path%>/organizationStructureShowPage">TMS系统</a></li>
										<li class="divider"></li>
										<li><a href="<%= path%>/">退出</a></li>
									</ul>
						</div>
						
						<%  		
								}else{
						%>	
						<!-- 普通 用户 -->
						<div class="btn-group" style="float:right;margin-top:13px;">
						 <input type="hidden" id="input_name" value="<%=name %>"> 
							<span id="login_li1" value="1" class=" dropdown-toggle" data-toggle="dropdown" style="margin-top:13px;margin-right:150px;margin-left:27px; font-size: 18px; font-family: '微软雅黑';cursor: pointer;"><%=name %>
								<span class="caret"></span>
							</span>
						 
							<ul class="dropdown-menu" role="menu">
								<li><a href="<%= path%>/userPage">查看信息</a></li>
								<li><a href="<%= path%>/managerStarResume">星标简历</a></li>
								 
								<li class="divider"></li>
								<li><a href="<%= path%>/organizationStructureShowPage">TMS系统</a></li>
								<li class="divider"></li>
								<li><a href="<%= path%>/">退出</a></li>
							</ul>
						</div>
							
						<%		
								}
							}
						%>
						
										<li class="nav navbar-nav navbar-right"><a href="<%= path%>/seniorQuery" style=" font-size: 18px; font-family: '微软雅黑';">高级搜索&nbsp&nbsp</a> </li>
										<li style="" class="nav navbar-nav navbar-right"><a href="<%= path%>/index" style=" font-size: 18px; font-family: '微软雅黑';">首页</a> </li>
									</ul>
								 
							</nav>	